#ifndef TEST_H
#define TEST_H

#include "SCDirWatcher.h"

class Test : public SCDirWatcher::WatcherProto
{
public:
	explicit Test(const std::string* dirpath, size_t n);
	~Test();
	void	update();
protected:
	void	onFileWatch(const SCDirWatcher::FState& s);
	void	onWatchLose(const std::string &path);

	void	onDirWatch(const SCDirWatcher::FState& s);
private:
	SCDirWatcher*	m_watcher;
};

#endif // TEST_H
